package com.example.rentalcar.entity;

import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 工作人员对象 worker
 * 
 * @author ruoyi
 * @date 2024-01-02
 */
@TableName("worker")
public class Worker
{


    /** 工作人员_id */
    private Long workerId;

    /** 工作人员电话 */

    private String workerPhone;

    /** 工作人员角色 */

    private String workerRole;

    /** 工作人员姓名 */

    private String workerName;

    public void setWorkerId(Long workerId) 
    {
        this.workerId = workerId;
    }

    public Long getWorkerId() 
    {
        return workerId;
    }
    public void setWorkerPhone(String workerPhone) 
    {
        this.workerPhone = workerPhone;
    }

    public String getWorkerPhone() 
    {
        return workerPhone;
    }
    public void setWorkerRole(String workerRole) 
    {
        this.workerRole = workerRole;
    }

    public String getWorkerRole() 
    {
        return workerRole;
    }
    public void setWorkerName(String workerName) 
    {
        this.workerName = workerName;
    }

    public String getWorkerName() 
    {
        return workerName;
    }

    @Override
    public String toString() {
        return "Worker{" +
                "workerId=" + workerId +
                ", workerPhone='" + workerPhone + '\'' +
                ", workerRole='" + workerRole + '\'' +
                ", workerName='" + workerName + '\'' +
                '}';
    }

    public Worker() {
    }
}
